package DesignPatternFactory;

import java.util.ArrayList;

public class Software extends Produit{
       
        public Software(String denomination, String anneeCreation, double prix)
        {
               /* this.denomination = denomination ;
                this.anneeCreation = anneeCreation ;
                this.prix = prix;
                this.clients = new ArrayList<String>();*/
        }

        @Override
        public void AddClient(String nomClient) {
                this.clients.add(nomClient);
                System.out.println("le client est" +nomClient) ;
               
        }
       

}
